package com.think.teaching.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.PaperQuestion;
import com.think.teaching.model.Question;

import java.util.List;

/**
 * <p>
 * 试卷和试题关联 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface PaperQuestionService extends IService<PaperQuestion> {
	PaperQuestion AddNewPaperQuestion(PaperQuestion paperQuestion);

	PaperQuestion UpdatePaperQuestion(PaperQuestion paperQuestion);

	PaperQuestion SetPaperQuestionState(Integer id, Integer state);

	List<Question> ListPaperQuestion(Boolean withoutDelete);

	PaperQuestion GetPaperQuestionInfo(Integer id);
}
